package com.econ.powercloud;

import com.econ.ribbon.IpRibbonRuleConfig;
import com.econ.ribbon.IpUserHashRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author : zjf
 * @Description :
 * @Date : 2022/6/27 16:36
 * @Modified by : zjf
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableScheduling
@RibbonClient(name="powernode-console-server", configuration= IpRibbonRuleConfig.class)
public class NodeEmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(NodeEmsApplication.class,args);
    }
}
